import plotly.graph_objects as go

fig = go.Figure()
fig.add_trace(
    go.Scatter(
        x=[1, 2, 3, 4],
        y=[10, 11, 12, 13],
        mode="markers",
        marker=dict(
            size=[40, 60, 80, 100],  # 标记大小
            color=[1, 2, 3, 4],  # 标记颜色
        ),
    )
)
fig.show()
